package com.example.demo.service;

import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;

import javax.annotation.Priority;

@Service
@Priority(value = 2)
public class UserService implements IUserService {
    @Override
    public String getName() {
        return "--UserService--";
    }
}
